$(function(){
	$('a').filter(function() {
		// gnarly opera hack for testing on not default port 80 http server, remove in live version	
		if (this.port && this.port != 80 && this.hostname.indexOf(':') != -1) {
			return this.hostname && this.hostname !== location.hostname+':'+location.port;
		} else {
			return this.hostname && this.hostname !== location.hostname;
		}		
	}).addClass('external');
})
